{% extends 'easydisAPSBundle::base_template.html.twig' %}

{% block stylesheets %}
    <link rel="stylesheet" href="{{ asset('bundles/easydisAPS/css/css-template/colorpicker.css') }}" />
    <link rel="stylesheet" href="{{ asset('bundles/easydisAPS/css/css-template/uniform.css') }}" />
    <link rel="stylesheet" href="{{ asset('bundles/easydisAPS/css/css-template/select2.css') }}" />
    <link rel="stylesheet" href="{{ asset('bundles/easydisAPS/smoothness/jquery-ui-1.10.3.custom.css') }}" />
{% endblock %}

{% block scripts %}
    <script src="{{ asset('bundles/easydisAPS/js-template/bootstrap.min.js') }}"></script>
    <script src="{{ asset('bundles/easydisAPS/js-template/bootstrap-colorpicker.js') }}"></script>
    <script src="{{ asset('bundles/easydisAPS/js-template/jquery.uniform.js') }}"></script>
    <script src="{{ asset('bundles/easydisAPS/js-template/select2.min.js') }}"></script>
    <script src="{{ asset('bundles/easydisAPS/js-template/maruti.js') }}"></script>
    <script src="{{ asset('bundles/easydisAPS/js-template/maruti.form_common.js') }}"></script>
    <script type="text/javascript" src="{{ asset('bundles/easydisAPS/js/jquery-1.10.2.min.js') }}"></script>
    <script src="{{ asset('bundles/easydisAPS/smoothness/jquery-ui-1.10.3.custom.js') }}"></script>
    <script type="text/javascript" src="{{ asset('bundles/easydisAPS/js/datepickerFR.js') }}"></script>
    
{% endblock %}
    
{% block contenu %}
    
{% for flashMessage in app.session.flashbag.get('notice') %}
		{% if flashMessage %}
			<div class="notice">
				{{ flashMessage }}
				<br/><br/>
			</div>
		{% endif %}
{% endfor %}

<div class="row-fluid">
    <div class="span6">
            <div class="widget-box">
                <div class="widget-title">
                    <span class="icon">
                        <i class="icon-list-alt"></i>
                    </span>
                    <h5>Formulaire de selection d'une plage horaire :</h5>
                </div>
                <div class="widget-content nopadding">
                    <form action="" method="post" class="form-horizontal">
                            
                        <div class="control-group">
                            <label class="control-label">Liste des plages horaires :</label>
                            <div class="controls">
                                <select size="10" name="visible" required>
                                    {% for ph in list_visible %}
                                        <option value="{{ ph.id }}">{{ ph.lib }}</option>
                                    {% endfor %}
                                </select>
                            </div>
                        </div>

                         
                        <div class="form-actions">
                            <button type="submit" class="btn btn-success">Modifier</button>
                        </div>
                    </form>
                </div>
            </div>
    </div>
</div>
</div>
{% endblock %}